package com.ruoyi.qsng.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 积分排行对象 k_integral_order
 * 
 * @author kanglou
 * @date 2023-06-07
 */
@ApiModel("积分排行对象 k_integral_order")
public class KIntegralOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 榜单类型对应数据字典k_integral_order_type */
    @Excel(name = "榜单类型对应数据字典k_integral_order_type")
    @ApiModelProperty("榜单类型对应数据字典k_integral_order_type")
    private String type;

    /** 人员id */
    @Excel(name = "人员id")
    @ApiModelProperty("人员id")
    private String userId;

    /** 人员姓名 */
    @Excel(name = "人员姓名")
    @ApiModelProperty("人员姓名")
    private String userName;

    /** 累计积分 */
    @Excel(name = "累计积分")
    @ApiModelProperty("累计积分")
    private Integer integral;

    /** 排名 */
    @Excel(name = "排名")
    @ApiModelProperty("排名")
    private Integer sx;

    /** 主键 */
    private String id;

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setIntegral(Integer integral) 
    {
        this.integral = integral;
    }

    public Integer getIntegral() 
    {
        return integral;
    }
    public void setSx(Integer sx) 
    {
        this.sx = sx;
    }

    public Integer getSx() 
    {
        return sx;
    }
    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("type", getType())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("integral", getIntegral())
            .append("sx", getSx())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
